package CPM;

import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class Configuration {
	
	private static String abstract_file;
	private static String per_word_index;
	private static String per_entity_index;
	private static String dictionary_file;

	public static void main(String args[]) throws IOException{
	Properties prop=new Properties();
	
	String Fname="Config.properties";
	
	InputStream in =new FileInputStream(Fname);
	prop.load(in);
	abstract_file=prop.getProperty("ABSTRACT_NAME");
	per_word_index=prop.getProperty("PER_WORD_INDEX");
	per_entity_index=prop.getProperty("PER_ENTITY_INDEX");
	dictionary_file=prop.getProperty("DICTIONARY");
	
	}
	
	public String getAbstractFile(){
		return abstract_file;
	}
	
	public String getPerWordIndex(){
		return per_word_index;
	}
	
	public String getPerEntityIndex(){
		return per_entity_index;
	}
	
	public String getDictionaryFile(){
		return dictionary_file;
	}

}
